package com.feemanage.domain.vo;
import com.common.annotation.Excel;
import com.common.utils.poi.MyDataHandler;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.framework.config.BigDecimalSerializer;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.math.BigDecimal;

@Data
@ApiModel("经费卡列表")
public class BizProjectFeeCardVo {
    private static final long serialVersionUID = 1L;

    /**
     * 自增ID
     */
    private String id;

    /**
     * 项目ID
     */
    private String projectId;

    /**
     * 经费卡号
     */
    @Excel(name = "经费卡号")
    private String feeCardNum;

    @Excel(name = "项目名称")
    private  String projectName;
    /**
     * 经费卡负责人
     */
    @Excel(name = "经费负责人")
    private String feeChargerName;

    @Excel(name = "项目负责人")
    private String chargerName;
    /**
     * 总到账
     */
    @Excel(name = "总到账(万元)",handler = MyDataHandler.class, args = { "金额"})
    @JsonSerialize(using = BigDecimalSerializer.class)
    private BigDecimal incometotal;

    /**
     * 结余
     */
    @Excel(name = "结余(万元)",handler = MyDataHandler.class, args = { "金额"})
    @JsonSerialize(using = BigDecimalSerializer.class)
    private BigDecimal paytotal;
    /**
     * 状态（0进行中 1已结题）
     */
    @Excel(name = "状态",readConverterExp = "0=进行中,1=已结题")
    private String transferState;

    /**
     * 结题金额-元
     */
    @Excel(name = "结题金额(元)",handler = MyDataHandler.class, args = { "金额-元"})
    @JsonSerialize(using = BigDecimalSerializer.class)
    private BigDecimal transferFee;

    /**
     * 结题卡号
     */
    @Excel(name = "结题卡号")
    private String transferFeeCode;

    private  String projectType;



    /**
     * 总预算
     */
    @JsonSerialize(using = BigDecimalSerializer.class)
    private BigDecimal budgettotal;


}
